#ifndef inconsistent_h
#define inconsistent_h

// these constants are used to indicated what device was invalid
// (asuming that ADC0 is always valid, so this is more which device
//  differs from ADC0)
#define ADC0_INCONSISTENT  0x001     //bit 0
#define ADC1_INCONSISTENT  0x002     //bit 1
#define ADC2_INCONSISTENT  0x004     //bit 2
#define ADC3_INCONSISTENT  0x008     //bit 3
#define TDC_INCONSISTENT   0x010     //bit 4
#define LATCH_INCONSISTENT 0x020     //bit 5
#define TC_INCONSISTENT    0x040     //bit 6
//REMAIN_ERROR indicates that there was an IOError during the
//attempt to read out the remaining data after a cycle has finished
#define REMAIN_ERROR       0x080     //bit 7
//INLOOP_ERROR indicates that there was an IOError somewhere in
//the readout loop
#define INLOOP_ERROR       0x100     //bit 8
//WR_ERROR indicates that there was an IOError somewhere
//in write_data()
#define WR_ERROR           0x200     //bit 9
#define QDC_INCONSISTENT   0x400     //bit 10
#define TDC_ZEROEVENTS     0x800     //bit 11

#endif
